/*
 * 爱组搭，低代码组件化开发平台
 * ------------------------------------------
 * 受知识产权保护，请勿删除版权申明，开发平台不允许做非法网站，后果自负
 */
package com.aizuda.boot.modules.system.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 用户头像查询请求DTO
 *
 * @author 青苗
 * @since 2025-01-23
 */
@Getter
@Setter
@Schema(name = "UserAvatarQueryDTO", description = "用户头像查询请求")
public class UserAvatarQueryDTO {

    @Schema(description = "用户ID列表", example = "[1, 2, 3]")
    @NotEmpty(message = "用户ID列表不能为空")
    @Size(max = 100, message = "单次查询用户数量不能超过100个")
    private List<Long> userIds;

    public UserAvatarQueryDTO() {
    }

    public UserAvatarQueryDTO(List<Long> userIds) {
        this.userIds = userIds;
    }
}
